package com.dragon.client;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication(scanBasePackages = {"com.dragon"})
@MapperScan("com.dragon.*.mapper")
@EnableTransactionManagement
@EnableScheduling
public class ClientApplication extends SpringBootServletInitializer {
	public static void main(String[] args) {
		SpringApplication.run(ClientApplication.class, args);
	}

}
